package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author durui123
 * @since 2018-04-11
 */
@TableName("receive_goods_stock")
public class ReceiveGoodsStock extends Model<ReceiveGoodsStock> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("foreign_contract_number")
    private String foreignContractNumber;
    @TableField("foreign_key_receive_goods_id")
    private String foreignKeyReceiveGoodsId;
    @TableField("receive_goods_name")
    private String receiveGoodsName;
    @TableField("receive_goods_quantity")
    private Integer receiveGoodsQuantity;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getForeignContractNumber() {
        return foreignContractNumber;
    }

    public void setForeignContractNumber(String foreignContractNumber) {
        this.foreignContractNumber = foreignContractNumber;
    }

    public String getForeignKeyReceiveGoodsId() {
        return foreignKeyReceiveGoodsId;
    }

    public void setForeignKeyReceiveGoodsId(String foreignKeyReceiveGoodsId) {
        this.foreignKeyReceiveGoodsId = foreignKeyReceiveGoodsId;
    }

    public String getReceiveGoodsName() {
        return receiveGoodsName;
    }

    public void setReceiveGoodsName(String receiveGoodsName) {
        this.receiveGoodsName = receiveGoodsName;
    }

    public Integer getReceiveGoodsQuantity() {
        return receiveGoodsQuantity;
    }

    public void setReceiveGoodsQuantity(Integer receiveGoodsQuantity) {
        this.receiveGoodsQuantity = receiveGoodsQuantity;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ReceiveGoodsStock{" +
        "id=" + id +
        ", foreignContractNumber=" + foreignContractNumber +
        ", foreignKeyReceiveGoodsId=" + foreignKeyReceiveGoodsId +
        ", receiveGoodsName=" + receiveGoodsName +
        ", receiveGoodsQuantity=" + receiveGoodsQuantity +
        "}";
    }
}
